//
//  XLCycleCell.m
//  XLCycleCollectionViewDemo
//
//  Created by MengXianLiang on 2017/3/6.
//  Copyright © 2017年 MengXianLiang. All rights reserved.
//

#import "XLCycleCell.h"

@interface XLCycleCell () {
    UILabel *_textLabel;
}
@end

@implementation XLCycleCell

- (instancetype)initWithFrame:(CGRect)frame {
    if (self = [super initWithFrame:frame]) {
        [self buildUI];
    }
    return self;
}

- (void)buildUI {
   
}
- (void)awakeFromNib {
  [super awakeFromNib];


//设置属性
}
- (void)layoutSubviews{
[super layoutSubviews];
[_imagename sd_setImageWithURL:[NSURL URLWithString:_dic[@"fileurl"]] placeholderImage:[UIImage imageNamed:@"加载"]];
_titlelabel.text = _dic[@"title"];
//传值
 
}
- (void)setTitle:(NSString *)title {
    _title = title;
    _titlelabel.text = title;
}

@end

